// This function processes the quiz data
function submitQuiz1()
{
	var q1 = document.forms.quiz1.question1;
	var q2 = document.forms.quiz1.question2;
	var q3 = document.forms.quiz1.question3;
	var q4 = document.forms.quiz1.question4;
	var q5 = document.forms.quiz1.question5;
	
	if( 
	q1[ 1 ].checked == true && 
	q2[ 2 ].checked == true && 
	q3[ 2 ].checked == true && 
	q4[ 1 ].checked == true && 
	q5[ 0 ].checked == true );
	
	
	{
		alert( "You passed!" );
	}
	else
	{
		alert( "you failed" );
	}
	
	// call the function to report scores
	parent.reportScores();
}